package com.tsing.pojo.entity;

import java.time.LocalDateTime;
import java.util.Date;

public class AdUser {
  private Long id;
  private String name;
  private String password;
  private String salt;
  private String nickname;
  private String image;
  private String phone;
  private Integer status;
  private String email;
  private LocalDateTime loginTime;
  private LocalDateTime createdTime;

  public AdUser() {
  }

  public AdUser(Long id, String name, String password, String salt, String nickname, String image, String phone, Integer status, String email, LocalDateTime loginTime, LocalDateTime createdTime) {
    this.id = id;
    this.name = name;
    this.password = password;
    this.salt = salt;
    this.nickname = nickname;
    this.image = image;
    this.phone = phone;
    this.status = status;
    this.email = email;
    this.loginTime = loginTime;
    this.createdTime = createdTime;
  }

  /**
   * 获取
   * @return id
   */
  public Long getId() {
    return id;
  }

  /**
   * 设置
   * @param id
   */
  public void setId(Long id) {
    this.id = id;
  }

  /**
   * 获取
   * @return name
   */
  public String getName() {
    return name;
  }

  /**
   * 设置
   * @param name
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * 获取
   * @return password
   */
  public String getPassword() {
    return password;
  }

  /**
   * 设置
   * @param password
   */
  public void setPassword(String password) {
    this.password = password;
  }

  /**
   * 获取
   * @return salt
   */
  public String getSalt() {
    return salt;
  }

  /**
   * 设置
   * @param salt
   */
  public void setSalt(String salt) {
    this.salt = salt;
  }

  /**
   * 获取
   * @return nickname
   */
  public String getNickname() {
    return nickname;
  }

  /**
   * 设置
   * @param nickname
   */
  public void setNickname(String nickname) {
    this.nickname = nickname;
  }

  /**
   * 获取
   * @return image
   */
  public String getImage() {
    return image;
  }

  /**
   * 设置
   * @param image
   */
  public void setImage(String image) {
    this.image = image;
  }

  /**
   * 获取
   * @return phone
   */
  public String getPhone() {
    return phone;
  }

  /**
   * 设置
   * @param phone
   */
  public void setPhone(String phone) {
    this.phone = phone;
  }

  /**
   * 获取
   * @return status
   */
  public Integer getStatus() {
    return status;
  }

  /**
   * 设置
   * @param status
   */
  public void setStatus(Integer status) {
    this.status = status;
  }

  /**
   * 获取
   * @return email
   */
  public String getEmail() {
    return email;
  }

  /**
   * 设置
   * @param email
   */
  public void setEmail(String email) {
    this.email = email;
  }

  /**
   * 获取
   * @return loginTime
   */
  public LocalDateTime getLoginTime() {
    return loginTime;
  }

  /**
   * 设置
   * @param loginTime
   */
  public void setLoginTime(LocalDateTime loginTime) {
    this.loginTime = loginTime;
  }

  /**
   * 获取
   * @return createdTime
   */
  public LocalDateTime getCreatedTime() {
    return createdTime;
  }

  /**
   * 设置
   * @param createdTime
   */
  public void setCreatedTime(LocalDateTime createdTime) {
    this.createdTime = createdTime;
  }

  public String toString() {
    return "AdUser{id = " + id + ", name = " + name + ", password = " + password + ", salt = " + salt + ", nickname = " + nickname + ", image = " + image + ", phone = " + phone + ", status = " + status + ", email = " + email + ", loginTime = " + loginTime + ", createdTime = " + createdTime + "}";
  }
}
